package com.chen.winnerframework.constants;

/**
 * 通用常量
 *
 * @author chengy
 * @date 2022/11/18
 */
public class CommonConstants {

    /* 男性标识 */
    public static final int MALE = 1;

    /* 女性标识 */
    public static final int FEMALE = 0;

    /* 启用标识 */
    public static final int ENABLE = 1;

    /* 禁用标识 */
    public static final int DISABLE = 0;

    /* 通知标识 */
    public static final int TONG_ZHI = 0;

    /* 公告标识 */
    public static final int GONG_GAO = 1;

    /* 乐观锁初始版本号 */
    public static final int INIT_VERSION = 1;

    /* 登录用户菜单key */
    public static final String MENU_KEY = "menu_";

    /* 目录标识 */
    public static final String DIRECTORY = "D";

    /* 菜单标识 */
    public static final String MENU = "M";

    /* 按钮标识 */
    public static final String BUTTON = "B";

    /* 登录用户key */
    public static final String LOGIN_USER = "login_user";

    /* 图片验证码 */
    public static final String IMAGE_CAPTCHA = "image_captcha";

    /* 邮箱验证码 */
    public static final String EMAIL_CAPTCHA = "email_captcha";

    /* 登录token标识 */
    public static final String LOGIN_TOKEN_KEY = "Authorization:login:token:";

}
